var mongoose = require('../dao/mongo/mongo');

var Schema = mongoose.Schema;
var jewelDetailedSchema = new Schema({
    id: {
        type: String,
    },
    uid: {
        type: String
    },
    // 当前获取宝石量
    increase_jewel: {
        type: Number
    },
    // 总宝石量
    total_jewel: {
        type: Number,
        default: 0
    },
    time: {
        type:String,
        default: new Date(new Date().toLocaleDateString()).getTime()
    },
    gmt_create: {
        type: Number,
    },
    gmt_modified: {
        type: Number,
    }
});

module.exports = mongoose.model('JewelDetailed', jewelDetailedSchema);